<script setup lang="ts" name="ApplicationDevelopDetails">
const props = defineProps({
  application: {
    type: Object,
    default: () => null
  }
})
</script>

<template>
  <div class="basicinfo-box">
    <!-- <span class="ik-title-1">基本信息</span> -->
    <el-form class="info-form">
      <el-form-item label="名称">
        <span>{{ props.application?.name ?? '--' }}</span>
      </el-form-item>
      <el-form-item label="类型">
        <span>{{ props.application?.typeName ?? '--' }}</span>
      </el-form-item>
      <el-form-item label="首页地址">
        <span>{{ props.application?.indexPath ?? '--' }}</span>
      </el-form-item>
      <el-form-item label="图标">
        <IkSvgIcon v-if="props.application?.icon" :name="props.application?.icon" />
        <span v-else>{{ '--' }}</span>
      </el-form-item>
      <el-form-item label="描述">
        <span>{{ props.application?.remark ?? '--' }}</span>
      </el-form-item>
    </el-form>
  </div>
</template>

<style lang="scss" scoped>
.basicinfo-box{
  padding-top: 16px;
  padding-left: 16px;
}

.info-form{
  padding-left: 16px;
}
</style>
